home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 5_programming / on / send_ctcp < prev    next >
Encoding:
Text File  |  2001-03-21  |  589 b   |  23 lines

  1. Synopsis:
  2.    on [<modes>]send_ctcp [<serial#>] [-|^]<match> { <action> }
  3.  
  4. Description:
  5.    This hook is triggered whenever the client sends a CTCP request or
  6.    reply to another client.
  7.  
  8. Parameters:
  9.    $0    "PRIVMSG" for requests, "NOTICE" for replies
  10.    $1    nick the CTCP is being sent to
  11.    $2    type of CTCP being sent
  12.    $3-   optional arguments to the CTCP being sent
  13.  
  14. Examples:
  15.    To show the user when a CTCP request is sent:
  16.       on -send_ctcp "PRIVMSG *" {
  17.          echo *** Requesting a CTCP $2 from $1: $3-
  18.       }
  19.  
  20. See Also:
  21.    ctcp(1); on(5) send_msg
  22.  
  23.